// import Request from './request'
import Fetch from './fetch'
// 雪茹


// import Request from './request'
// 基本写法
// export  let gy_banner = ()=> Fetch.get('/app/banner')
// 高尧
// 首页轮播图
export let gy_banner = () => Fetch.get('/app/banner')
// 首页数据
export let gy_infoList = () => Fetch.get('/app/recommend/appIndex?')
// 发送短信验证码
export let gy_codeInfo = (obj) => Fetch.post(`/app/smsCode`, obj)
// 登录
export let gy_codeLogin = (obj) => Fetch.post(`/app/login`, obj)
// 密码设置
export let gy_setPassWord = (obj) => Fetch.post(`/app/password`, obj)
// 雪茹
// 分类
export let zxrfen = (url) => Fetch.get(url)
// 列表数据
export let zxrlist = (url) => Fetch.get(`app/courseBasis`)
// 课程详情
export let zxrDetail = (url) => Fetch.get(`/app/courseInfo/basis_id=${url}}`)
// 课程详情里的课程大纲
export let zxrBig = (url) => Fetch.post(`/app/courseChapter?id=${url}}`)
// 白宇
// ///////////////////////////////////////////////////
//请求轮播图数据
export  let BySwiper = ()=> Fetch.get('/app/banner')
//请求Home页面数据
export  let ByHomeList = ()=> Fetch.get('/app/recommend/appIndex')
// 详情
export  let ByHomeDetail = ()=> Fetch.get('/app/courseChapter')

///////////////////////////////////////////////////////
// 邹言霄
//左边分类
export let classify=()=>Fetch.get('/app/wap/classify?')
//右边分类
export let right=(data)=>Fetch.get('/app/wap/quesBank/'+data.id)
//搜索
export let search=(value)=>Fetch.get(`/app/wap/search/bank?bank=${value}`)
//搜索数据
export let searItem=(data)=>Fetch.get('/app/examPoint/0/'+data)


// 刘洋
// 张益民


// 张益民
export let my_list=()=>Fetch.get('/app/otoCourse')

// export  let login = ()=>Request({
//     url:``,
//     method:'post',
//     // method:'get',  可以不写

// })
